<script setup>
import HelloWorld from './components/HelloWorld.vue'
import router from './router';
</script>

<template>
  <!--<header>
      <div class="wrapper">
        <HelloWorld msg="You did it!" />
      </div>
    </header>-->
  <ul class="nav">
    <li>
      <router-link to="/home">Home</router-link>
    </li>
    <li>
      <router-link to="/about">About</router-link>
    </li>
    <li>
      <router-link to="/user">user-center</router-link>
    </li>
    <li>
      <router-link to="/product/123">product-123</router-link>
    </li>
    <li>
      <router-link to="/product/456">product-456</router-link>
    </li>
    <li>
      <router-link to="/vuex">Vuex</router-link>
    </li>
    <li>
      <router-link to="/axios-test">AxiosTest</router-link>
    </li>
  </ul>
  <!--路由的入口-->
  <div>
    <router-view></router-view>
  </div>
</template>


<style scoped></style>
